<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"></meta>
<title>html</title>
<link rel="stylesheet" type="text/css"
	href="/js/easyui/themes/bootstrap/easyui.css" />
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css" />
<link rel="stylesheet" type="text/css" href="/js/selfcss/demo.css" />
<script type="text/javascript" src="/js/easyui/jquery.min.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>

<script type="text/javascript" src="/js/selfjs/sysmenu/sysmenu.js"></script>
</head>
<body class="easyui-layout" fit="true" id="body">


	<div data-options="region:'center',split:false">
		<table id="tablelist" class="easyui-treegrid" style="width: auto;"
			fitcolumns="true" fit="true"
			data-options="url:'/sysMenu/searchMenus',idField: 'id',treeField: 'title',toolbar:toolbar">
			<thead>
				<tr>
					<th data-options="field:'title',width:100,align:'center'">标题</th>
					<th data-options="field:'href',width:100,align:'center'">链接</th>
				</tr>
			</thead>
		</table>
	</div>
	<div id="formwin" class="easyui-window"
		data-options="iconCls:'icon-save',closed:true">
		<form id="infoForm" method="post"
			style="text-align: center; margin-top: 20px; margin-left: 50px;">
			<input type="hidden" id="id" name="id" />
			<input type="hidden" id="deleted" name="deleted" />		
			<input type="hidden" id="createby" name="createby" />
			<input type="hidden" id="createtime" name="createtime" />
			<input type="hidden" id="remark" name="remark" />
			<input type="hidden" id="version" name="version" />
			
			<table class="common-table"
				style="border-collapse: separate; border-spacing: 15px;"
				cellspacing="30" cellpadding="0">
				<tr>
					<th>标题：</th>
					<td><input name="title" id="title" type="text"
						class="easyui-validatebox txt" /></td>
					<th>图标：</th>
					<td><input name="icon" id="icon" type="text"
						class="easyui-validatebox txt" /></td>
				</tr>
				<tr>
					<th>链接：</th>
					<td><input name="href" id="href" type="text"
						class="easyui-validatebox txt" /></td>
					<th>父节点：</th>
					<td><input class="easyui-combotreegrid"
						data-options="
					width:'100%',
					panelWidth:200,
					url:'/sysMenu/searchMenus',
					idField:'id',
					treeField:'title',
					columns:[[
						{field:'title',title:'title',width:200}
					]]"
						name="parent_id" /></td>
				</tr>
				<tr>
					<th>是否子节点：</th>
					<td><input class="easyui-combobox"
						data-options="
							valueField: 'label',
							textField: 'value',
							url:'/sysDict/searchSelectPsDicts?moudle=YESNO'"
						name="is_leaf" /></td>
					<th>是否展开：</th>
					<td><input class="easyui-combobox"
						data-options="
							valueField: 'label',
							textField: 'value',
							url:'/sysDict/searchSelectPsDicts?moudle=YESNO'"
						name="spread" /></td>
				</tr>
			</table>
		</form>
		<div id="dlg-buttons2"
			style="text-align: center; vertical-align: middle; margin-top: 20px;">

			<a href="javascript:void(0)" class="easyui-linkbutton c5"
				onclick="javascript:$('#formwin').window('close');"
				style="width: 90px">关闭</a> <a href="javascript:void(0)"
				class="easyui-linkbutton c6"
				onclick="javascript:Handler.saveData();" style="width: 90px">保存</a>
		</div>
	</div>
	<div id="formwin1" class="easyui-window"
		data-options="iconCls:'icon-save',closed:true">

		<table id="tablelistLink" class="easyui-datagrid" style="width: auto;"
			fitcolumns="true" fit="true"
			data-options="singleSelect:false,pagination:true,method:'get',toolbar:toolbar1">
			<thead>
				<tr>
					<th data-options="field:'ck',checkbox:true"></th>
					<th data-options="field:'username',width:100,align:'center'">用户名</th>
					<th data-options="field:'user_email',width:100,align:'center'">用户邮箱</th>
				</tr>
			</thead>
		</table>
	</div>

</body>

</html>